<?php
$objCommon 					= new Vfriend_Common();
$aProvince					= $objCommon->getProvince();
$aOccupation				= $objCommon->getOccupation();
$aReligion					= $objCommon->getReligion();
$aMarital					= $objCommon->getMarital();
$arrMusic					= $objCommon->getPreference(QUESTION_ID_MUSIC,1);
$arrSport					= $objCommon->getPreference(QUESTION_ID_SPORT,1);
//$arrDrama					= $objCommon->getPreference(QUESTION_ID_DRAMA,1);
$arrMovie					= $objCommon->getPreference(QUESTION_ID_MOVIE,1);
$arrOther					= $objCommon->getPreference(QUESTION_ID_OTHER,1);
$intPreference				= (int)(count($arrMusic) + count($arrSport) + count($arrMovie) + count($arrOther));
$intProvince				= count($aProvince);
$intOccupation				= count($aOccupation);
$intReligion				= count($aReligion);
$intMarital					= count($aMarital);
$this->view->arrGender 		= Vfriend_Function::gender();
// $this->view->arrDay			= Vfriend_Function::arrayNumber(1,31,1);
// $this->view->arrMonth		= Vfriend_Function::arrayNumber(1,12,1);
// $this->view->arrYear		= Vfriend_Function::getYearByAge();
$this->view->arrAge			= Vfriend_Function::arrayNumber(USER_AGE_FROM,USER_AGE_TO);
$this->view->arrProvince	= $aProvince;
$this->view->arrOccupation	= $aOccupation;
$this->view->arrReligion	= $aReligion;
$this->view->arrMarital		= $aMarital;
$this->view->arrMusic		= $arrMusic;
$this->view->arrSport		= $arrSport;
$this->view->arrMovie		= $arrMovie;
$this->view->arrOther		= $arrOther;
?>